package com.example.mall.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Weight implements Serializable {
    @ApiModelProperty(value = "唯一标识每条权重记录")
    private Integer weightid;

    @ApiModelProperty(value = "供应商ID")
    private Integer supplierid;

    @ApiModelProperty(value = "评估指标ID")
    private Integer indicatorid;

    @ApiModelProperty(value = "该指标在绩效评估中的权重值")
    private BigDecimal weightvalue;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "更新时间")
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Integer getWeightid() {
        return weightid;
    }

    public void setWeightid(Integer weightid) {
        this.weightid = weightid;
    }

    public Integer getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }

    public Integer getIndicatorid() {
        return indicatorid;
    }

    public void setIndicatorid(Integer indicatorid) {
        this.indicatorid = indicatorid;
    }

    public BigDecimal getWeightvalue() {
        return weightvalue;
    }

    public void setWeightvalue(BigDecimal weightvalue) {
        this.weightvalue = weightvalue;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", weightid=").append(weightid);
        sb.append(", supplierid=").append(supplierid);
        sb.append(", indicatorid=").append(indicatorid);
        sb.append(", weightvalue=").append(weightvalue);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}